package java_0207;

public class Outter {
    private String msg="outter类中的msg属性";
    class Inner{
        private int num=10;
        private String msg="内部类的msg属性";
        public void test(){
            System.out.println(msg);
            System.out.println(Outter.this.msg);
            System.out.println(Outter.this);
        }
    }

    public static void main(String[] args) {
        Outter outter=new Outter();
        outter.fun();

    }

    private  void fun() {
        Inner inner=new Inner();
        inner.test();
    }
}
